#include "textedit.h"
#include <QTextBlock>
Textedit::Textedit(QWidget *parent) :
    QTextEdit(parent)
{
    QTextCursor cursor = QTextEdit::textCursor();
    cursor.setPosition(/*block.position()+col-1*/26);
    setTextCursor(cursor);
    ensureCursorVisible();
    setFocus();
}

Textedit::~Textedit()
{

}

